#!/usr/bin/env bash

 count=1

 while true
 do
     ./2.3.sh 2> "2.3.stdlog"
     if [[ $? -ne 0 ]]; then
         echo "failed after $count times"
         cat "2.3.stdlog"
         break
     fi
     ((count++))

 done

